Scanning Probe Microscope and Scanning Method

ABSTRACT

To realize to adapt to a shape of a surface, shorten a measurement time period and promote a measurement accuracy by setting a sampling interval in accordance with a slope of the shape of the surface and controlling a stylus in accordance with the interval, there is provided a scanning probe microscope, in which in scanning the stylus, an observation data immediately therebefore is stored as a history, the sampling interval in X or Y direction is set at each time based on a shape of the observation data, and the stylus is scanned to a successive sampling position.

RELATED APPLICATIONS

This application claims priority under 35 U.S.C. §119 to Japanese Patent Application No. JP2006-345869 filed Dec. 22, 2006, the entire content of which is hereby incorporated by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to a scanning probe microscope and a scanning method capable of providing a distribution of information of a shape or a physical property of a surface of a sample by scanning the surface of the sample by vibrating a stylus above the surface of the sample.

2. Description of the Related Art

In a related art, there is known a scanning probe microscope including a scanning tunnel microscope or an atomic force microscope with an object of observing a fine shape or a material physical property of a sample for providing information thereof by scanning a surface of a sample by a stylus.

Taking an example, there is known an ultra low force atomic force microscope for observing a shape or the like of a surface of the sample by scanning the surface by vibrating a stylus in a vertical direction relative to the surface of the sample while maintaining an average distance to the surface of the sample constant (refer to, for example, Japanese Patent Specification No. 2732771).

In the ultra low force atomic force microscope, that the stylus is vibrated in the vertical direction achieves an effect of weakening of an influence of a friction force operated between the stylus and the surface of the sample, or a surface tension by a surface adhering water layer constituting an adverse influence in scanning the stylus in parallel with the surface of the sample.

In recent years, small-sized formation and high degree formation of a working dimension is promoted in a technology of working a semiconductor or the like, and a necessity of measuring a fine shape of a structure having a high aspect ratio, or a steep inclined face constituting the structure have been increased.

According to a scanning probe microscope of a related art, observation data are acquired at constant sampling intervals. Therefore, when a high aspect shape mixed with a region having a steep inclination and a flat region is measured, in order to measure the steep inclination by a necessary shape resolution, it is necessary to take the sampling interval more densely than that of the flat region, and when the sampling interval is constant, a number of unnecessary sampling points is increased in the flat region.

In order to avoid the problem, a number of proposals have been made as methods of variably setting a sampling interval while measuring a shape data (for example, JP-A-2002-014025).

On the other hand, when a high aspect ratio shape is measured, other problem is also present. That is, in comparison with an amplitude of vibrating a stylus in a vertical direction in a normal ultra low force atomic force microscope, a variation in height direction is excessively large, and therefore, there is also a case in which it is difficult to accurately follow a shape in scanning. In recent years, as one of methods of avoiding the difficulty, there is proposed a scanning method of repeating an operation in which a stylus is moved down in a vertical (Z) direction at the sampling point to be proximate to a surface to thereby catch a shape and successively moved up to be remote therefrom and moved to a next sampling point, a so-to-speak SIS mode (refer to JP-A-2005-069851).

In the SIS mode, there are needed time periods of making the stylus proximate to and remote from the sample in distances therebetween for respective sampling points, and a time period required for a total of scanning is prolonged along with a number of sampling points. Therefore, an unnecessarily large number of the sampling points signifies a problem of an unnecessarily long measuring time period.

With regard to the problem, a method of variable sampling proposed in a scanning probe microscope of a background art is not applicable to the scanning probe microscope of the scanning method of JP-A-2005-069851 mentioned above. For example, the scanning probe microscope of JP-A-2002-014025 is applicable only to a scanning method in which a stylus always traces a surface, and is not applicable to the scanning probe microscope of JP-A-2005-069851 mentioned above.

SUMMARY OF THE INVENTION

It is an object of the invention to provide a scanning method and a scanning probe microscope realizing to follow accurately a shape of a surface, shorten a measurement time period and promote a measurement accuracy by setting a sampling interval in accordance with a slope of the shape of the surface and controlling a stylus in accordance with the sampling interval.

According to a scanning probe microscope of the invention, a slope of a surface is calculated based on observation data sampled at a current time point and therebefore in sampling in scanning. When the calculated slope is larger than a predetermined threshold, a sampling interval (moving amount) to a successive measurement point is made to be narrower than a sampling interval (moving amount) therebefore. Or when the calculated slope is smaller than the predetermined threshold, the sampling interval (moving amount) to the successive measurement point is made to be wide. By repeating the steps, even when a shape of a surface mixed with a region having a steep slope and a flat region is scanned, the slope can be measured by a sampling interval having an optimum measurement accuracy in accordance with a degree of the slope, and a number of times of up and down movement of the stylus accompanied by the sampling operation, or a measurement time period thereof can be optimized in accordance with an accuracy.

Further, according to the scanning probe microscope of the invention, as a result of carrying out sampling at the successive time point based on the sampling interval determined by the above-described method, when a variation in the observation data is larger than a certain predetermined value, scanning can be carried out again by narrowing the sampling interval further by temporarily moving back the scanning in a reverse direction. Thereby, when an actual shape becomes larger than the slope anticipated from data immediately therebefore, by scanning again only the portion, although a measurement time period is prolonged, a measurement result in which a measurement accuracy is not deteriorated more than a certain lower limit value can be achieved.

Further, according to the scanning probe microscope of the invention, when the surface is measured by so-to-speak raster scanning for scanning in X direction while successively changing a position in Y direction, a sampling interval in Y direction constituting a difference between Y coordinate of current scanning line and Y coordinate of a scanning line at next line is determined based on a shape of a scanning line acquired therebefore. A similarity between two or more of scanning line shapes measured immediately therebefore is evaluated, when the similarity is higher than a certain threshold, the sampling interval in Y direction is made to be wider. Further, when the similarity is equal to or smaller than the certain threshold, the sampling interval in Y direction is made to be narrower. Thereby, in a flat region in which a change in the shape is small in Y direction, by widening the sampling line interval, the measured time period can be shortened by reducing a number of lines while minimizing a reduction in the measurement accuracy, and in the region having the steep slope, although the measurement time period is increased, the measurement accuracy can be promoted by narrowing the sampling line interval. In this way, a measurement optimizing the measurement time period while ensuring the measurement accuracy in accordance with the shape of the surface can be carried out.

The above-described method can be combined with a control of making the sampling interval in X direction variable and both of effects can be achieved.

According to the scanning probe microscope and the scanning method according to the invention, when the surface shape mixed with the region having the steep slope and the flat region is measured, by making the sampling interval variable to be adapted to the shape of the surface while scanning the stylus, a measurement shortening the measurement time period by reducing a number of sampling points and optimizing an accuracy of the measurement data can be carried out such that the sampling interval is reduced in the region having the steep slope and the sampling interval in the flat region is increased.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a scanning probe microscope according to an embodiment of the invention;

FIG. 2 shows a scanning locus of a stylus according to a first embodiment of the invention;

FIG. 3 is a flowchart showing a method of scanning a stylus according to the first embodiment of the invention;

FIG. 4 is a flowchart showing a method of scanning a stylus according to a second embodiment of the invention;

FIG. 5 shows a group of scanning loci of a stylus according to a third embodiment of the invention; and

FIG. 6 is a flowchart showing a method of scanning a stylus according to the third embodiment of the invention.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

An explanation will be given of a method of scanning one line according to a first embodiment of a scanning probe microscope of the invention in reference to FIG. 1, FIG. 2, and FIG. 3 as follows.

As shown by FIG. 1, the scanning probe microscope of the embodiment includes a stylus 2 capable of scanning in X and Y directions in parallel with a surface of a sample to be measured and moving in Z direction orthogonal to the surface of the sample relative to the surface of the sample, a force detecting portion 6 for detecting an interactive operation force received from the surface of the sample when the sample 2 is proximate to or brought into contact with the surface of the sample, a computer 7 (controlling means, observing means, and storing means) for controlling the stylus 2 and sampling observation data and storing coordinates of respective observation positions and observation data at positions thereof, and a display apparatus 8 for outputting the observation data to outside.

An explanation will be given as follows of a case of sampling the observation data by scanning the stylus relative to the surface of the sample and measuring an image of a shape of the surface of the sample by an amount of one line by the scanning probe microscope having such a constitution. When the image of the shape of the surface of the sample is measured by scanning over an XY plane, the measurement may be carried out by repeatedly scanning one line while changing a position of the Y position.

FIG. 2 is a diagram showing a locus of a stylus of scanning one line, and FIG. 3 is a flowchart showing a procedure of scanning.

Before scanning, a sampling interval p*Δx is set. A unit Δx of the sampling interval indicates a minimum unit of the sampling interval, and an accuracy, scanning range and the like necessary in measuring the surface of the sample can previously be determined. Further, notation p designates an integer equal to or larger than 1, and an initial value thereof is made to be 1. The sampling interval constitutes a unit by Δx and is varied by the unit multiplied by an integer in one scanning line.

First, the stylus is moved to observation position x (0). Next, the stylus is moved in Z direction to be proximate to the surface of the sample. When the stylus is proximate to or brought into contact with the surface of the sample, the force detecting portion senses a force, and therefore, the stylus is made to stop moving at the time point to sample observation data at observation position x (0), that is, position data z (0) in Z direction.

Next, the stylus is moved in Z direction to be remote from the surface of the sample by a previously determined distance Δz, for example, 10 nm. Thereafter, the stylus is moved in X direction until observation position x (1) of successive time. A distance from current observation position x (0) to observation position x (1) at successive time is p*Δx in X direction.

When there is a projected shape having a height equal to or larger than Δz on the surface of the sample in the midst of the moving procedure, the stylus is proximate to or brought into contact with the surface of the sample, however, this can be detected by the force detecting portion 6. When it is detected that the stylus is proximate thereto or brought into contact therewith, the stylus is immediately stopped temporarily from moving in X direction, the stylus is made to be remote from the surface of the sample by a distance Δz, thereafter, the stylus is restarted to move in X direction. In this way, the stylus is moved finally to observation position x (1) of successive time. When the stylus is moved to observation position x (1) of successive time, observation data z (1) at observation position x (1) is sampled similar to the operation at observation position x (0).

Successively, the scanning method will be explained by constituting n by 2 or more.

In a state of moving the stylus to current observation position x (n), observation data z (n) at x (n) is sampled similar to x (0). Next, observation position x (n+1) of successive time is determined as follows based on current observation position x (n) and observation data z (n) at the position, observation position x (n−1) immediately therebefore and observation data z(n−1) at the position.

That is, a slope S of a linear line connecting observation point immediately therebefore and current observation point by the following equation

S=abs((z(n)−z(n−1))/(x(n)−x(n−1)))

Here, abs (x) is a function of calculating an absolute value of x.

Next, sampling interval p*Δx from x (n) to x (n+1) is determined as follows.

a case of S ≧ 2.0 p = max (int (p/4), 1) a case of 1.0 ≦ S < 2.0 p = max (int (p/2), 1) a case of 0.5 ≦ S < 1.0 p = p a case of 0.25 ≦ S < 0.5 p = min (2*p, pMax) a case of S < 0.25 p = min (4*p, pMax)

Incidentally, max (x, y) is a function of calculating a value of a larger one of x and y, and int (x) is a function of calculating the integer value by rounding off a decimal point or smaller of x. min (x, y) is a function of calculating a value of a smaller one of x and y. Further, pMax is a scanning parameter indicating a maximum sampling interval which can be set, and adjusted by compromising a calculated scanning time period and a measurement accuracy of measurement data.

When the sampling interval p*Δx is determined in this way, observation position x (n+1) of successive time is determined, and therefore, the stylus is moved in X direction until x (n+1). Even in the midst of the movement, similar to the movement from x (0) to x (1), when the stylus is proximate to or brought into contact with the surface of the sample, the stylus is made to be remote therefrom by Δz at each time.

By repeating the above-described operation, observation data z (n) at respective observation positions x (n) are sampled. When observation position x (n) reaches a previously set scanning range, scanning of one line is finished.

Although p is constituted by an integer in the embodiment, a determinant for changing the sampling interval from slope S can also be replaced by a different equation constituting p by real number.

Next, an explanation will be given of a method of scanning respective scanning lines according to a second embodiment of a scanning probe microscope of the invention in reference to a flowchart diagram 4. A point of the second embodiment which differs from the first embodiment will be described as follows. According to the second embodiment, after determining x (n+1) based on the slope S, the stylus is moved to observation position x (n+1), and observation data z (n+1) is measured. Slope S′ is calculated by a following equation from determined and sampled values of x (n), z (n), x (n+1), and z (n+1).

S′=abs((z(n+1)−z(n))/(x(n+1)−x(n)))

When the slope S′ is equal to or larger than a previously determined certain value, for example, 1.0, scanning of the stylus is temporarily moved back. That is, the stylus is moved to a position between observation position x (n) and observation position x (n+1), for example, a middle point (x (n)+x (n+1))/2 of x (n) and (n+1), the position is newly set as x (n+1), and observation data z (n+1) at the position is sampled. Further, the sampling interval p*Δx is contracted to a half as shown by the following equation.

p=max(int(p/2),1)

Thereby, when as a result of measuring by a sampling interval determined from a shape data immediately therebefore, recesses and projections are larger than assumed ones, and a shape accuracy is deteriorated by the provided data, a measurement accuracy can be prevented from being deteriorated by making the sampling interval finer than that at preceding time by temporarily moving back the stylus and rescanning the stylus. When compared with the first embodiment, there is a possibility of further prolonging the measurement time period, however, an advantage of capable of providing data guaranteeing a lower limit of the measurement accuracy is achieved.

Next, an explanation will be given of a scanning method of face scanning according to a third embodiment of a scanning probe microscope of the invention in reference to FIG. 5 and FIG. 6. FIG. 5 is a view showing a locus of a stylus of raster scanning according to the embodiment, and FIG. 6 is a flowchart showing a scanning procedure.

Before scanning, sampling interval q*Δy in Y direction is set. A unit Δy of a line interval indicates a minimum unit of the line interval, and the unit can previously be determined from an accuracy, a scanning range and the like necessary in measuring the surface of the sample. Further, notation q designates an integer equal to or larger than 1, and an initial value thereof is made to be 1. The line interval is made to constitute the unit by Δy and is varied by the unit multiplied by an integer in one raster screen.

First, a measurement profile L (0) is measured by moving the stylus to an initial line position y (0) and scanning the stylus in X direction. The measurement profile is constituted by rows of measurement data at respective sampling points.

Next, the stylus is moved by q*Δy in Y direction, a next line position y (1) is constituted thereby, the stylus is scanned similarly in X direction to acquire measurement profile L (1).

Next, when n is equal to or larger than 2, scanning of measurement profile L (n+1) is carried out by the following method.

A similarity between two data of measurement profile L (n−1) and measurement profile L (n) measured immediately therebefore is calculated. As one of methods of calculating the similarity, when a data row of measurement profile L (n−1) is designated by z1 {n) {n=0, 1, . . . , N}, a data row of measurement profile L (n) is designated by z2 (n) {n=0, 1, . . . , N}, and an intercorrelation function R (k) is written by the following equation, the similarity C can be defined by a maximum value of R (k) {k=0, . . . , N−1}

$\begin{matrix} {{{R(k)} = {\frac{1}{N - k}{\sum\limits_{n = 0}^{N - k - 1}\left( {z\; 1\left( {n + k} \right)^{*}z\; 2(n)} \right)}}}{C\; = \; {\max \left( {{R(0)},\ldots \mspace{11mu},{R\left( {N\text{-}1} \right)}} \right)}}} & \left\lbrack {{equation}\mspace{14mu} 1} \right\rbrack \end{matrix}$

In order to determine sampling interval q*Δy in Y direction, calculated C and a certain previous determined value, for example, 0.9 are compared and, for example, the following determinant is used.

a case of C ≧ 0.9 q = min (2*q, qMax) a case of C < 0.9 q = max (int (q/2), 1)

Next, the stylus is moved from y (n) in Y direction by sampling interval q*Δy, the position is designated by y (n+1), and measurement profile L (n+1) is measured.

By repeating the above-described operation, measurement profiles L (n) at respective observation positions y (n) are sampled. When observation position y (n) reaches a previously set scanning range, scanning of one screen is finished.

Although according to the embodiment, q is constituted by an integer, a determinant for changing a line interval from the similarity C can be replaced by an equation different from the above-described by constituting q by a real number.

Further, although according to the embodiment, the similarity C is calculated from the intercorrelation function of measurement profile L (n−1) and measurement profile L (n), a function other than the intercorrelation function can also be used. For example, a determinant of the sampling interval can be determined by calculating a difference between profiles by D indicated by the following equation such that the more proximate D to 0, higher the similarity.

$\begin{matrix} {D = {\frac{1}{N}{\sum\limits_{n - 0}^{N - 1}\left( \frac{{z\; 1(n)} - {z\; 2(n)}}{{z\; 1(n)} + {z\; 2(n)}} \right)}}} & \left\lbrack {{equation}\mspace{14mu} 2} \right\rbrack \end{matrix}$

Further, although according to the embodiments described above, among measurement data, the sampling interval or the line interval is variably set by constituting a determination reference by the shape data. The invention is not limited only thereto but a determination reference of changing the sampling interval or the line interval may be constituted by using a kind of data other than the shape data, or a plurality of kinds of data. For example, in the case of a scanning probe microscope for simultaneously measuring a shape and a current value, there is conceivable a scanning method of making the sampling interval further dense in a region in which a variation in the current value is larger. Or, there is also conceivable a scanning method of adjusting the sampling interval in consideration both of the variation in the current value and the variation in the shape. 

1. A scanning probe microscope comprising: a scanning stylus scanned to be moved in X and Y directions in parallel with a surface of a sample and moved in a Z direction orthogonal to the surface of the sample relative to the surface of the sample; observing means for sampling one kind or more of observation data at a time point at which the stylus is proximate to or brought into contact with the surface of the sample; means for controlling the stylus for scanning to move the stylus in a direction in parallel with the surface of the sample until reaching an observation position of a successive time in the X or Y direction after sampling the observation data, moving the stylus from the surface of the sample in the Z direction when the stylus is proximate to or brought into contact with the surface of the sample in the scanning, and stopping the scanning of the stylus when the stylus reaches the observation position of the successive time and sampling the observation data by making the stylus proximate to or brought into contact with the surface of the sample to thereby determine the observation position of the successive time in the X or Y direction based on a plurality of the observation data sampled at the plurality of observation positions; and observation data storing means for recording coordinates of the respective observation positions and positions thereof.
 2. The scanning probe microscope according to claim 1, wherein one kind of the observation data is a shape data indicating a Z position of the time point at which the stylus is proximate to or brought into contact with the surface of the sample; and wherein when the controlling means scans the stylus in the X or Y direction, the moving amount in the X or Y direction from the observation position to the observation position of the successive time is changed in accordance with a slope of the shape calculated by a predetermined procedure based on a history of the shape data sampled.
 3. The scanning probe microscope according to claim 1, wherein one kind of the observation data is a shape data indicating a Z position at the time point at which the stylus is proximate to or brought into contact with the surface of the sample; and wherein when the controlling means scans the stylus in the X or Y direction, the moving amount from the observation position to an observation position at the successive time is set variably by a predetermined minimum step distance in the X direction multiplied by an integer in accordance with a slope of the shape calculated by a predetermined procedure based on a history of the sampled shape data.
 4. The scanning probe microscope according to claim 1, wherein when a rate of changing the observation data calculated from a history of the observation data exceeds a predetermined threshold, the controlling means controls the stylus to move back from the observation position of the successive time and scan again by setting a moving amount smaller than a moving amount of a preceding time.
 5. The scanning probe microscope according to claim 1, wherein when scanning in the X direction is repeatedly carried out while changing a position in the Y direction at each time, coordinates of respective Y positions and rows of observation data in the X direction scanned to be sampled at the Y positions are stored as a history, and a moving amount from a newest Y position to the Y position of the successive time is set variably at each time of finishing the X scanning at each Y position based on a history of the plurality of Y positions and the rows of X scanning data in correspondence therewith.
 6. The scanning probe microscope according to claim 1, wherein when scanning in the X direction is repeatedly carried out while changing a position in the Y direction at each time, coordinates of respective Y positions and rows of observation data in the X direction scanned to be sampled at the Y positions are stored as a history, and when a moving amount from a newest Y position to the Y position of the successive time is set variably at each time of finishing the X scanning at the respective Y positions based on the history of the plurality of Y positions and the rows of the X scanning data in correspondence therewith, one kind of the observation data is a shape data indicated by a Z position at the time point at which the stylus is proximate to or brought into contact with the surface of the sample; and wherein the controlling means evaluates a similarity of two of or more of X scanning data rows sampled at immediate proximity thereof after sampling the plurality of rows of the X scan data, and sets variably a moving amount from a newest Y position to the Y position of the successive time at each time in accordance with a degree of the similarity.
 7. The scanning probe microscope according to claim 1, wherein when scanning in the X direction is repeatedly carried out while changing a position in Y direction at each time, coordinates of respective Y positions and rows of observation data in the X direction scanned to be sampled at the Y positions are stored as a history, when a moving amount from a newest Y position to the Y position of the successive time is set variably at each time of finishing the X scanning at each Y position based on the history of the plurality of Y positions and the rows of the X scanning data in correspondence therewith, one kind of the observation data is a shape data indicated by a Z position at the time point at which the stylus is proximate to or brought into contact with the surface of the sample; and wherein the controlling means evaluates a similarity of two of or more of rows of the X scanning data sampled at immediate proximity thereof of the rows of the X scan data and sets a moving amount from a newest Y position to the Y position of the successive time variably by a predetermined minimum step distance in the Y direction multiplied by an integer in accordance with a degree of the similarity.
 8. The scanning probe microscope according to claim 1, wherein when the scanning in the X direction is repeatedly carried out while changing the position in the Y direction at each time, coordinates of respective Y positions and rows of observation data in the X direction scanned to be sampled at the Y positions are stored as a history, and when a moving amount from a newest Y position to the Y position of the successive time is set variably at each time of finishing the X scanning at each Y position based on the history of the plurality of Y positions and the rows of the X scanning data in correspondence therewith, one kind of the observation data is a shape data indicated by a Z position at the time point at which the stylus is proximate to or brought into contact with the surface of the sample; and wherein the controlling means evaluates a similarity of two or more of rows of the X scanning data sampled at immediate proximity thereof in the rows of the X scan data, and when the similarity becomes lower than a predetermined threshold, the stylus is moved back temporarily in the scanning direction of the Y axis, the moving amount at the preceding time is set to a distance smaller than the moving amount at the preceding time and the stylus is scanned again in the Y direction.
 9. The scanning probe microscope according to claim 1, wherein when scanning in the X direction is repeatedly carried out while changing the position in the Y direction at each time, coordinates of the respective Y positions and rows of observation data in the X direction scanned to be sampled at the Y positions are stored as a history, and when a moving amount from a newest Y position to the Y position of the successive time is set variably at each time of finishing the X scanning at each Y position based on the history of the plurality of Y positions and the rows of the X scanning data in correspondence therewith, in a similarity of two or more of rows of the scanning data sampled at immediate proximity thereof in the rows of X scanning data evaluated by the controlling means, the similarity is evaluated by a calculation including a difference of data of X coordinates in correspondence with each other by the plurality of rows of X scanning data.
 10. The scanning probe microscope according to claim 1, wherein when scanning in the X direction is repeatedly carried out while changing the position in the Y direction at each time, coordinates of the respective Y positions and rows of observation data in the X direction scanned to be sampled at the Y positions are stored as a history, and when a moving amount from a newest Y position to the Y position of the successive time is set variably at each time of finishing the X scanning at each Y position based on the history of the plurality of Y positions and the rows of X scanning data in correspondence therewith, in a similarity of two or more of rows of the X scanning data sampled at immediate proximity thereof in the rows of the X scanning data evaluated by the controlling means, the similarity is evaluated by an intercorrelation function of plurality of the rows of X scanning data.
 11. A scanning method of a scanning probe microscope characterized in comprising: a step of sampling one kind or more of observation data by observing means at a time point at which a stylus scanned to be moved in X and Y directions in parallel with a surface of the sample and moved in Z direction orthogonal to the surface of the sample relative to the surface of the sample is proximate to or brought into contact with the surface of the sample; a step of scanning to move the stylus to a direction in parallel with the surface of the sample after reaching an observation position of a successive time in the X or Y direction after sampling the observation data and moving the stylus from the surface of the sample to be remote in the Z direction when the stylus is proximate to or brought into contact with the surface of the sample in the scanning; a step of stopping scanning of the stylus when the stylus reaches the observation position of the successive time and sampling the observation data by making the stylus proximate to or brought into contact with the surface of the sample; and a step of determining an observation position of the successive time in the in the X or Y direction by sampling the observation data at a plurality of the observation positions and using the plurality of sampled observation data. 